package com.lyq.basic.utils;

/**
 * @Author:liangyunqian
 * @Date: 2022/12/8  14:35
 * @Description:
 */
public class R {
    private Boolean success = true;
    private String message = "操作成功";
    private Object data;

    public static R me(){
        return new R();
    }

    public Boolean getSuccess() {
        return success;
    }

    public R setSuccess(Boolean success) {
        this.success = success;
        return this;
    }

    public String getMessage() {
        return message;
    }

    public R setMessage(String message) {
        this.message = message;
        return this;
    }

    public Object getData() {
        return data;
    }

    public R setData(Object data) {
        this.data = data;
        return this;
    }
}
